Optimal. Leaf size=66 \[ -a \sinh ^{-1}(a x)^2-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)^2}{x}+2 a \sinh ^{-1}(a x) \log \left (1-e^{2 \sinh ^{-1}(a x)}\right )+a \text {PolyLog}\left (2,e^{2 \sinh ^{-1}(a x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 66, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {5800, 5775,
3797, 2221, 2317, 2438} \begin {gather*} -\frac {\sqrt {a^2 x^2+1} \sinh ^{-1}(a x)^2}{x}+a \text {Li}_2\left (e^{2 \sinh ^{-1}(a x)}\right )-a \sinh ^{-1}(a x)^2+2 a \sinh ^{-1}(a x) \log \left (1-e^{2 \sinh ^{-1}(a x)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2221
Rule 2317
Rule 2438
Rule 3797
Rule 5775
Rule 5800
Rubi steps
\begin {align*} \int \frac {\sinh ^{-1}(a x)^2}{x^2 \sqrt {1+a^2 x^2}} \, dx &=-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)^2}{x}+(2 a) \int \frac {\sinh ^{-1}(a x)}{x} \, dx\\ &=-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)^2}{x}+(2 a) \text {Subst}\left (\int x \coth (x) \, dx,x,\sinh ^{-1}(a x)\right )\\ &=-a \sinh ^{-1}(a x)^2-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)^2}{x}-(4 a) \text {Subst}\left (\int \frac {e^{2 x} x}{1-e^{2 x}} \, dx,x,\sinh ^{-1}(a x)\right )\\ &=-a \sinh ^{-1}(a x)^2-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)^2}{x}+2 a \sinh ^{-1}(a x) \log \left (1-e^{2 \sinh ^{-1}(a x)}\right )-(2 a) \text {Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\sinh ^{-1}(a x)\right )\\ &=-a \sinh ^{-1}(a x)^2-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)^2}{x}+2 a \sinh ^{-1}(a x) \log \left (1-e^{2 \sinh ^{-1}(a x)}\right )-a \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 \sinh ^{-1}(a x)}\right )\\ &=-a \sinh ^{-1}(a x)^2-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)^2}{x}+2 a \sinh ^{-1}(a x) \log \left (1-e^{2 \sinh ^{-1}(a x)}\right )+a \text {Li}_2\left (e^{2 \sinh ^{-1}(a x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.23, size = 65, normalized size = 0.98 \begin {gather*} a \left (\sinh ^{-1}(a x) \left (\sinh ^{-1}(a x)-\frac {\sqrt {1+a^2 x^2} \sinh ^{-1}(a x)}{a x}+2 \log \left (1-e^{-2 \sinh ^{-1}(a x)}\right )\right )-\text {PolyLog}\left (2,e^{-2 \sinh ^{-1}(a x)}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 4.24, size = 132, normalized size = 2.00
method | result | size |
default | \(\frac {\left (a x -\sqrt {a^{2} x^{2}+1}\right ) \arcsinh \left (a x \right )^{2}}{x}-2 a \arcsinh \left (a x \right )^{2}+2 a \arcsinh \left (a x \right ) \ln \left (1-a x -\sqrt {a^{2} x^{2}+1}\right )+2 a \polylog \left (2, a x +\sqrt {a^{2} x^{2}+1}\right )+2 a \arcsinh \left (a x \right ) \ln \left (1+a x +\sqrt {a^{2} x^{2}+1}\right )+2 a \polylog \left (2, -a x -\sqrt {a^{2} x^{2}+1}\right )\) | \(132\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\operatorname {asinh}^{2}{\left (a x \right )}}{x^{2} \sqrt {a^{2} x^{2} + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\mathrm {asinh}\left (a\,x\right )}^2}{x^2\,\sqrt {a^2\,x^2+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________